﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Company.Merchandising.BusinessLayer.DataTransferObjects
{
    public class DTOCredential
    {
        public int Id
        {
            get;
            set;
        }

        public string Login
        {
            get;
            set;
        }

        public string Password
        {
            get;
            set;
        }

        public string PasswordSalt
        {
            get;
            set;
        }

        public bool IsActive
        {
            get;
            set;
        }

        public int FailedLoginAttempts
        {
            get;
            set;
        }

        public DateTime LastLoginAttempt
        {
            get;
            set;
        }

        public DateTime LastLogin
        {
            get;
            set;
        }

        public bool IsLocked
        {
            get;
            set;
        }

        public DateTime LastPasswordChange
        {
            get;
            set;
        }

        public bool IsDeleted
        {
            get;
            set;
        }

        public DTOEmployee Employee
        {
            get;
            set;
        }

        public List<DTOEmployee> AllowedEmployees
        {
            get;
            set;
        }
    }
}
